import pandas as pd

from SupplyChainAnalyzer import SupplyChainAnalyzer

if __name__ == '__main__':
    # 读取训练集(train.csv)和测试集(test.csv)low_memory = False参数确保pandas不会分块读取数据避免数据类型推断错误
    dataSet = pd.read_csv('resource/items.csv', low_memory=False)

    # 执行分析和结果
    analysis = SupplyChainAnalyzer(dataSet)
    result = analysis.get_analysis_res()